import User from './components/user/User.vue';
import Upload from './components/upload/Upload.vue';
import News from './components/user/News.vue';
import Cata from './components/category/Cata.vue';
import Comment from './components/comment/Comment.vue';
import Home from './components/Home.vue';

export const routes = [
	{path:'/',component:Home},
	{path:'/user',component:User},
	{path:'/upload',component:Upload},
	{path:'/news',component:News},
	{path:'/cata',component:Cata},
	{path:'/comment',component:Comment,children:[
			{path:'',component:Comment},
			{path:':id',component:Comment}
		]}
]
